package com.nervenets.template;

import com.nervenets.general.utils.CodeTemplateUtil;
import com.nervenets.template.hibernate.domain.data.DataOfGold;

import java.io.IOException;

public final class CodeGenerator {
    public static void main(String[] args) throws IOException {
        CodeTemplateUtil.generateDaoAndServiceAndController(CodeTemplateUtil.Config.builder()
                .basePackage("com.nervenets.template")
                .apiName("金币流水")
                .clz(DataOfGold.class)
                .adminGenerator(true)
                .adminHomePath("D:\\workspace\\server-spring-boot-template\\admin-ui")
                .build());
    }
}
